package me.spring.cloud.common.components.number.generator;

import me.spring.cloud.common.components.number.rule.domain.BillNumberProperties;
import me.spring.cloud.common.components.number.sequence.SequenceGenerator;

/**
 * 编号生成工具
 *
 * @author michael
 */
public interface NumberGenerator {

  String generate(String bizType);

  void setSequenceGenerator(SequenceGenerator sequenceGenerator);

  void setNumberRules(BillNumberProperties numberRules);
}
